package com.csair.demo.basedao;

import java.util.List;


public interface IMybatisEntityDao<T> {

	public boolean add(String classMethod, T entity) throws Exception ;

	public boolean edit(String classMethod, T entity) throws Exception;

	public T get(String classMethod, Long id) throws Exception;

	public List<T> getAll(String classMethod) throws Exception ;

	public boolean remove(String classMethod, Long id) throws Exception ;
	
	public PageFinder findPage(PageWhere pageTag) throws Exception;
}
